package com.sleepcamel.resteasyConfigurator.components;

import java.util.List;

import org.eclipse.swt.widgets.Composite;

import com.sleepcamel.resteasyConfigurator.repository.DefaultMimeTypeRepository;

public class MimeTypeListChooser extends ComboListChooser {

	public MimeTypeListChooser(Composite parent, int style) {
		super(parent, style);
	}

	public void setSelectedChoices(List<String> mimes){
		setChoices(new DefaultMimeTypeRepository().getMimeTypes(), mimes);
	}

}
